package com.xmy.erp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author hpiggy
 * @since 2023-09-09
 */
@TableName("enroll_label")
@ApiModel(value = "EnrollLabel对象", description = "")
public class EnrollLabel implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("标签名称")
    private String name;

    @ApiModelProperty("上级id")
    private Long pid;

    @ApiModelProperty("排序（数值大靠前）")
    private Integer sort;

    @ApiModelProperty("颜色数值【0-1-2-3-4-5】")
    private Integer colorIndex;

    @ApiModelProperty("教师id")
    private Long teacherId;

    @ApiModelProperty("是否系统数据")
    private Integer isSystem;

    @ApiModelProperty("1正常，0禁用")
    private Integer status;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public Long getPid() {
        return pid;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }
    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }
    public Integer getColorIndex() {
        return colorIndex;
    }

    public void setColorIndex(Integer colorIndex) {
        this.colorIndex = colorIndex;
    }
    public Long getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Long teacherId) {
        this.teacherId = teacherId;
    }
    public Integer getIsSystem() {
        return isSystem;
    }

    public void setIsSystem(Integer isSystem) {
        this.isSystem = isSystem;
    }
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "EnrollLabel{" +
            "id=" + id +
            ", name=" + name +
            ", pid=" + pid +
            ", sort=" + sort +
            ", colorIndex=" + colorIndex +
            ", teacherId=" + teacherId +
            ", isSystem=" + isSystem +
            ", status=" + status +
        "}";
    }
}
